using System;
using Castle.ActiveRecord;

namespace Models
{
	[ActiveRecord(Table="track_Meters")]
	public class Meter :ActiveRecordBase<Meter>
	{

		public Meter()
		{

		}
		[PrimaryKey]
		public int Id
		{
			get;
			set;
		}
		[Property]
		public string Name
		{
			get;
			set;
		}
		[BelongsTo( "AddressId" )]
		public Address Address
		{
			get;
			set;
		}
		[Property]
		public int MesurementUnits
		{
			get;
			set;
		}
		[Property]
		public int Type
		{
			get;
			set;
		}


	}
}
